﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="custom_list_edit.aspx.cs" Inherits="ByteSite.Web.admin.form.custom_list_edit" ValidateRequest="false" %>
<%@ Import namespace="ByteSite.Common" %>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑列表</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="stylesheet" type="text/css" href="../../scripts/artdialog/ui-dialog.css" />

<link rel="stylesheet" type="text/css" href="../skin/default/style.css" />
<link href="../skin/uikit/css/uikit.min.css" rel="stylesheet" />
<script type="text/javascript" src="../skin/uikit/js/uikit.min.js"></script>
<script type="text/javascript" src="../skin/uikit/js/uikit-icons.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../../scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../../scripts/jquery/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="../../scripts/xm-select/xm-select.js"></script>
<script type="text/javascript" charset="utf-8" src="../../scripts/artdialog/dialog-plus-min.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/common.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/laymain.js"></script>
<script type="text/javascript">
    $(function () {
        //初始化表单验证
        $("#form1").initValidform();
        //添加按钮(点击绑定)
        $("#itemAddButton").click(function () {
            showChannelDialog();
        });
        
    });

</script>
</head>

<body class="mainbody">
<form id="form1" runat="server">


<!--内容-->

      <ul uk-tab>
        <li class="uk-active"><a class="" href="javascript:;">基本配置</a></li>
      </ul>

    <ul class="uk-switcher">
        <li>
<div class="tab-content">
  <dl>
    <dt>名称</dt>
    <dd><asp:TextBox ID="txtTitle" runat="server"  CssClass="uk-input" datatype="*2-100" sucmsg=" "></asp:TextBox> <span class="Validform_checktip">*标题备注，允许中文。</span></dd>
  </dl>
  <dl>
    <dt>所属站点</dt>
    <dd>
      <div class="rule-single-select">
        <asp:DropDownList id="ddlSiteId" runat="server" CssClass="uk-select" datatype="*" errormsg="请选择所属站点！" sucmsg=" "></asp:DropDownList>
      </div>
      <span class="Validform_checktip">*非独立数据站点，不予显示。</span>
    </dd>
  </dl>
  <dl>
    <dt>数据表</dt>
    <dd>
      <div class="rule-single-select">
        <asp:DropDownList id="ddlTable" runat="server" CssClass="uk-select" datatype="*" errormsg="请选择数据库表！" sucmsg=" " AutoPostBack="True" OnSelectedIndexChanged="ddlTable_SelectedIndexChanged"></asp:DropDownList>
      </div>
      <span class="Validform_checktip">*选择数据库表。</span>
    </dd>
  </dl>
  <dl>
    <dt>名称Key</dt>
    <dd>
      <div class="rule-single-select">
        <asp:DropDownList id="ddlKeyColumn" runat="server" CssClass="uk-select" datatype="*" errormsg="选择列表项的名称！" sucmsg=" "></asp:DropDownList>
      </div>
      <span class="Validform_checktip">*选择列表项的名称。</span>
    </dd>
  </dl>
  <dl>
    <dt>值Value</dt>
    <dd>
      <div class="rule-single-select">
        <asp:DropDownList id="ddlValueColumn" runat="server" CssClass="uk-select" datatype="*" errormsg="选择列表项的值！" sucmsg=" "></asp:DropDownList>
      </div>
      <span class="Validform_checktip">*选择列表项的值。</span>
    </dd>
  </dl>
  <dl>
    <dt>排序数字</dt>
    <dd>
      <asp:TextBox ID="txtSortId" runat="server" CssClass="uk-input uk-form-width-small" datatype="n" sucmsg=" ">99</asp:TextBox>
      <span class="Validform_checktip">*数字，越小越向前</span>
    </dd>
  </dl>
</div>
</li>
</ul>
<!--/内容-->

<!--工具栏-->
<div class="page-footer">
  <div class="btn-wrap">
    <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="uk-button uk-button-primary " onclick="btnSubmit_Click" />
    <input name="btnReturn" type="button" value="取消返回" class="uk-button uk-button-default " onclick="javascript:history.back(-1);" />
  </div>
</div>
<!--/工具栏-->

</form>
</body>
</html>
